//
//  YAYISchedulingView.h
//  testForAreacode
//
//  Created by Veer on 16/6/3.
//  Copyright © 2016年 Veer. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    BoderTypeRightBottom,
    BoderTypeLeftTop,
} BoderType;

typedef enum : NSUInteger {
    LineTypeNormal,
    LineTypeFirst,
} LineType;


@interface YAYIItemView : UIView

@property (nonatomic, assign) BoderType boderType;
@property (nonatomic, assign) LineType lineType;

@end


@interface YAYISchedulingView : UIView

@property (nonatomic, assign) BOOL isOpen;

@property (nonatomic, assign) LineType lineType;

/**
 *  是否过期
 */
@property (nonatomic, assign) BOOL isExpired;

/**
 *  itemView点击时执行block
 */
@property (nonatomic, copy) BOOL (^itemClickOperation)(BOOL isOpen);

@end
